d322867b5023941b0df87202bf4b3092e09f40c1,src/main/java/jfxtras/labs/icalendarfx/components/VDisplayable.java,VDisplayable,setContacts,#ObservableList#,244

Before Change


    {
        if (contacts != null)
        {
            orderer().registerSortOrderProperty(contacts);
        } else
        {
            orderer().unregisterSortOrderProperty(this.contacts);
        }
        this.contacts = contacts;
    }

After Change


    {
        if (contacts != null)
        {
            if ((this.contacts != null) && (this.contacts.get() != null))
            {
                // replace sort order in new list
                orderer().replaceList(contactsProperty().get(), contacts);
            }
            orderer().registerSortOrderProperty(contacts);
        } else
        {
            orderer().unregisterSortOrderProperty(contactsProperty().get());
        }
        contactsProperty().set(contacts);
    }
    public T withContacts(ObservableList<Contact> contacts)
    {